package com.linjuke.childay.common;

import java.util.Map;

import com.linjuke.childay.R;
import com.linjuke.childay.util.CollectionUtil;

public class CategoryResources {
	
	private static Map<Integer, Integer> cat2Resources = CollectionUtil.newHashMap();
	
	static {
		cat2Resources.put(0, R.drawable.cat_0);
		cat2Resources.put(1, R.drawable.cat_1);
		cat2Resources.put(2, R.drawable.cat_2);
	}
	
	
	public static Integer byCatId(int catId) {
		return cat2Resources.get(catId);
	}

}
